package com.flute.framework.search.result;

import java.util.ArrayList;
import java.util.List;

public abstract class AbstractResultParser implements IResultParser {

	protected List<ResultProperty> resultProperties;
	protected List<MarkedResultProperty> markedProperties;

	public AbstractResultParser() {
		this.resultProperties = new ArrayList<ResultProperty>();
		this.markedProperties = new ArrayList<MarkedResultProperty>();
	}

	public List<ResultProperty> getResultProperties() {
		return resultProperties;
	}

	public void addResultProperty(ResultProperty property) {
		this.resultProperties.add(property);
	}

	public void addMarkedResultProperty(MarkedResultProperty property) {
		this.markedProperties.add(property);
	}

	public void setResultProperties(List<ResultProperty> resultProperties) {
		this.resultProperties = resultProperties;
	}

	public List<MarkedResultProperty> getMarkedProperties() {
		return markedProperties;
	}

	public void setMarkedProperties(List<MarkedResultProperty> markedProperties) {
		this.markedProperties = markedProperties;
	}

}
